{include file="public/header.html" /}
      <div class="content">
        <div class="container-fluid">
          <div class="row">
            <div class="col-md-12">
              <div class="card">
                <div class="card-header card-header-primary">
                  <h4 class="card-title">添加API</h4>
                  <p class="card-category">Complete your profile</p>
                </div>
              </br>
                <div class="card-body">
                  <form action="{:url('index/upadd')}" method="post">
                    <div class="row">
                      <div class="col-md-3">
                        <div class="form-group">
                          <label class="bmd-label-floating">API名称 提示:保持在六个字内</label>
                          <input type="text" name="apiname" class="form-control">
                        </div>
                      </div>
                      <div class="col-md-2">
                        <div class="form-group">
                          <label class="bmd-label-floating">API文档地址 示例:qqimg</label>
                          <input type="text" name="apidoc" class="form-control">
                        </div>
                      </div>
                      <div class="col-md-3">
                        <div class="form-group">
                          <label class="bmd-label-floating">API请求地址 示例:/api/qqimg</label>
                          <input type="text" name="apipost" value="api/" class="form-control">
                        </div>
                      </div>
                      <div class="col-md-4">
                        <div class="form-group">
                          <label class="bmd-label-floating">API返回数据</label>
                          <input type="text" name="apiposts" class="form-control">
                        </div>
                      </div>
                    </div>
                  </br>
                    <div class="row">
                    <div class="col-md-3">
                      <div class="form-group">
                        <label>ICON</label> <small><a href="https://www.mdui.org/docs/material_icon" target="_blank">点我选择图标</a></small>
                        <div class="form-group">
                          <input type="text" value="dvr"  name="apiicon" class="form-control">
                        </div>
                      </div>
                    </div>
                    <div class="col-md-9">
                      <div class="form-group">
                        <label class="bmd-label-floating">查看代码 示例:https://tenapi.cn/qqimg?qq=1449175379</label>
                        <div class="form-group">
                          <input type="text" name="democode" class="form-control">
                        </div>
                      </div>
                    </div>
                  </div>
                  </br>
                    <div class="row">
                      <div class="col-md-6">
                        <div class="form-group">
                          <label>API描述</label>
                          <div class="form-group">
                            <label class="bmd-label-floating">支持富文本</label>
                            <textarea class="form-control" name="miaoshu" rows="3"></textarea>
                          </div>
                        </div>
                      </div>
                      <div class="col-md-6">
                        <div class="form-group">
                          <label>调用效果</label>
                          <div class="form-group">
                            <label class="bmd-label-floating">支持富文本</label>
                            <textarea class="form-control" name="diaoyong" rows="3"></textarea>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col-md-12">
                        <div class="form-group">
                          <label>请求参数</label>
                          <div class="form-group"id="test-editor">
                            <textarea type="text" name="type">
<table class="mdui-table"><thead><tr>
<th>参数名称</th><th>类型</th><th>参数值</th><th>描述</th></tr></thead><tbody>
<tr><td><code>参数值</code></td>
<td>可选</td><td>参数值</td>
<td>填写说明</tr>
</tbody></table></textarea>
                          </div>
                        </div>
                      </div>
                    </div>
                    <button type="submit" class="btn btn-primary pull-right">Update Profile</button>
                    <div class="clearfix"></div>
                  </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
{include file="public/footer.html" /}
